#ifndef PLUGIN_MANAGER_H
#define PLUGIN_MANAGER_H

#include <QObject>
#include <QList>
#include <QString>
#include <QDir>
#include <QPluginLoader>
#include <QDebug>
#include "i_algorithm_plugin.h"

class PluginManager
{
public:
    static PluginManager &instance();

    void loadPlugins(const QString &path);
    const QList<IAlgorithmPlugin *> &plugins() const;

private:
    PluginManager() {}
    QList<IAlgorithmPlugin *> m_plugins;
};

#endif // PLUGIN_MANAGER_H
